package org.rbreznak.tronco.client;

import java.awt.Color;
import java.awt.Font;
import javax.swing.JButton;
import javax.swing.JLabel;

public class FormatUI {
	public static void formatButton(JButton btn) {
		btn.setFont(new Font("Calibri",Font.BOLD,50));
		btn.setForeground(new Color(255,255,255));
		btn.setBackground(new Color(0,0,0));
		btn.setHorizontalAlignment(JLabel.CENTER);
	}

	public static void formatSpecialButton(JButton btn) {
		btn.setFont(new Font("Calibri",Font.BOLD,30));
		btn.setForeground(new Color(255,255,255));
		btn.setBackground(new Color(0,0,0));
		btn.setHorizontalAlignment(JLabel.CENTER);
	}
	
	public static void formatImageButton(JButton btn) {
		btn.setBackground(new Color(0,0,0));
		btn.setForeground(new Color(255,255,255));
		btn.setFont(new Font("Calibri",Font.BOLD,30));
		btn.setBorderPainted(false);
		btn.setContentAreaFilled(false);
		btn.setFocusPainted(false);
	}
	
	public static void formatLabel(JLabel lbl) {
		lbl.setFont(new Font("Calibri",Font.BOLD,50));
		lbl.setForeground(new Color(255,255,255));
		lbl.setBackground(new Color(0,0,0));
		lbl.setHorizontalAlignment(JLabel.CENTER);
	}
}
